package com.xinjian.jianba.service;

import java.io.IOException;

import org.elasticsearch.action.DocWriteResponse;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.update.UpdateResponse;
import org.elasticsearch.common.xcontent.XContentBuilder;

import com.xinjian.jianba.dto.es.ChooseDto;
import com.xinjian.jianba.dto.es.EsServiceResult;
import com.xinjian.jianba.dto.es.FindDocDto;

public interface YueJianService {
	public EsServiceResult indexDocumentUserId(ChooseDto chooseDto)throws IOException;
	public EsServiceResult updateDocumentsUserId(ChooseDto chooseDto) throws IOException;
	public EsServiceResult findByUid(String userId)throws IOException;
	public EsServiceResult findPersons(FindDocDto findDocDto)throws IOException;
	public EsServiceResult deleteDocByDocId(String docId);
}
